﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LotTemplate.aspx.cs" Inherits="WMS6.Web.Configuration.LotTemplate"
    meta:resourcekey="Page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>LotTemplate</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />

    <script src="../Js/jquery.js" type="text/javascript"></script>

    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>

    <script src="../Js/util.js" id="js" type="text/javascript"></script>

    <script src="../Js/InitPage.js" type="text/javascript"></script>

    <script src="../Js/Verification.js" type="text/javascript"></script>

    <script type="text/javascript">
        //初始化页面
        window.onload = function(){
            initEditNewPage();
            setchkLotVisible();
        }
        
        function newLotTemplate()
        {
            var from = document.getElementById("hdnFrom").value;
            window.location.href = "LotTemplate.aspx?from="+escape(from);
            return false;
        }
                
        //设置 LotVisible为选中状态 并且不可用
        function checkMandatory(chk)
        {
            var check = document.getElementById("chkLotMandatory"+chk).checked;
            var checkOT = document.getElementById("chkLotMandatoryOT"+chk).checked;
            if(check)
            {
                document.getElementById("chkLotVisible"+chk).checked = check;
                document.getElementById("chkLotVisible"+chk).disabled = check;
                
                document.getElementById("chkLotRFVisible"+chk).checked = check;
                document.getElementById("chkLotRFVisible"+chk).disabled = check;
                
            }
            else
            {
              if(!checkOT)
               {
                document.getElementById("chkLotVisible"+chk).checked = document.getElementById("chkSubLotVisible"+chk).checked;
                document.getElementById("chkLotVisible"+chk).disabled = check;
                
                document.getElementById("chkLotRFVisible"+chk).checked = document.getElementById("chkSubLotRFVisible"+chk).checked;
                document.getElementById("chkLotRFVisible"+chk).disabled = check;
               }
            }
        }
        
        function checkMandatoryOT(chk)
        {
            var checkIN = document.getElementById("chkLotMandatory"+chk).checked;
            var check = document.getElementById("chkLotMandatoryOT"+chk).checked;
            if(check)
            {
                document.getElementById("chkLotVisible"+chk).checked = check;
                document.getElementById("chkLotVisible"+chk).disabled = check;
                
                document.getElementById("chkLotRFVisible"+chk).checked = check;
                document.getElementById("chkLotRFVisible"+chk).disabled = check;
                
            }
            else
            {
               if(!checkIN)
               {
                document.getElementById("chkLotVisible"+chk).checked = document.getElementById("chkSubLotVisible"+chk).checked;
                document.getElementById("chkLotVisible"+chk).disabled = check;
                
                document.getElementById("chkLotRFVisible"+chk).checked = document.getElementById("chkSubLotRFVisible"+chk).checked;
                document.getElementById("chkLotRFVisible"+chk).disabled = check;
               }
            }
        }
        
        //设置 LotVisible是否可用
        function setchkLotVisible()
        {
            for(var i = 1;i < 13; i++)
            {
                if(i<10)
                {
                    setchkLotVisible2("0"+i.toString());
                }
                else
                {
                    setchkLotVisible2(i.toString());
                }
            }
        }
        function setchkLotVisible2(chk)
        {
            var check = document.getElementById("chkLotMandatory"+chk).checked;
            var checkOT = document.getElementById("chkLotMandatoryOT"+chk).checked;
            if(check || checkOT)
            {
                document.getElementById("chkLotVisible"+chk).checked = true;
                document.getElementById("chkLotVisible"+chk).disabled = true;
                          
                document.getElementById("chkLotRFVisible"+chk).checked = true;
                document.getElementById("chkLotRFVisible"+chk).disabled = true;
            }
        }
        
        //设置隐藏的 LotVisible的选中状态和 LotVisible同步
        function checkSubLotVisible(chk,lblid,txtid)
        {
           document.getElementById("chkSubLotVisible"+chk).checked = document.getElementById("chkLotVisible"+chk).checked
          
           if(document.getElementById("chkSubLotVisible"+chk).checked)
           {
                if(document.getElementById(txtid).value == "")
                {
                    document.getElementById(txtid).value = document.getElementById(lblid).innerText;    
                }
           }
           else if(document.getElementById("chkLotRFVisible"+chk).checked)
           {
                if(document.getElementById(txtid).value == "")
                {
                    document.getElementById(txtid).value = document.getElementById(lblid).innerText; 
                }
           }
           else
           {
                document.getElementById(txtid).value ="";
           }
        }
        
        //设置隐藏的 LotRFVisible的选中状态和 LotRFVisible同步
        function checkSubLotRFVisible(chk,lblid,txtid)
        {
           document.getElementById("chkSubLotRFVisible"+chk).checked = document.getElementById("chkLotRFVisible"+chk).checked
          
           if(document.getElementById("chkSubLotRFVisible"+chk).checked)
           {
                if(document.getElementById(txtid).value == "")
                {
                    document.getElementById(txtid).value = document.getElementById(lblid).innerText;    
                }
           }
           else if(document.getElementById("chkLotVisible"+chk).checked)
           {
                if(document.getElementById(txtid).value == "")
                {   
                    document.getElementById(txtid).value = document.getElementById(lblid).innerText;
                }
           }
           else
           {
                document.getElementById(txtid).value ="";
           }
        }
        
        function confirmMsg(code)
        {
            if(code == "C001")
            {
                if(confirm('<%=GetGlobalMsgResource("C001") %>'))
                {
                    return true;
                }
                else
                {
                    return false;
                }
            }

        }
        
    </script>
    <style type="text/css">
        .textbox100
        {
        	padding-top:2px;
	        vertical-align:middle;
	        color: #000;
	        font-size:12px;	
	        width:100px;
	        font-family:"宋体", Verdana, Arial, Helvetica, sans-serif;
        	}
    </style>
</head>
<body>
    <form id="F2081" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <div id="div_top">
            <table>
                <tr>
                    <td valign="bottom">
                        <asp:Label ID="lblLotTemplate" runat="server" CssClass="label_header" Text="批次属性"
                            meta:resourcekey="lblLotTemplate"></asp:Label>
                    </td>
                    <td>
                        <asp:Button ID="btnGoBack" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnGoBack%>"
                            Enabled="False" OnClick="btnGoBack_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnNew" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnNew%>"
                            Enabled="False" AccessKey="n" OnClientClick="newLotTemplate();" />
                    </td>
                    <td>
                        <asp:Button ID="btnSave" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnSave%>"
                            Enabled="False" AccessKey="s" OnClick="btnSave_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnDelete" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnDelete%>"
                            Enabled="False" AccessKey="d" OnClick="btnDelete_Click" OnClientClick="javascript:if(confirmMsg('C001')) return true; else return false;" />
                    </td>
                    <td>
                        <asp:Button ID="btnCopy" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnCopy%>"
                            Enabled="False" AccessKey="c" OnClick="btnCopy_Click" />
                    </td>
                </tr>
            </table>
        </div>
        <asp:UpdatePanel ID="up1" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
                <div>
                    <asp:Label ID="lblMsg" runat="server" CssClass="label_message" meta:resourcekey="lblMsg"></asp:Label>
                </div>
                <div id="div_menu">
                    <div style="float: left; width: 8px;">
                        <div class="tabL" id="imgL1">
                        </div>
                    </div>
                    <div class="tabLabelCont tabCur" id="div1">
                        <asp:Label ID="one1" runat="server" class="hover" Text="批次属性" meta:resourcekey="one1"></asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR" id="imgR1">
                        </div>
                    </div>
                </div>
                <div id="div_content">
                    <div id="con_one_1" style="display: block;">
                        <table style="margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td>
                                    <table style="display: block; width: 590px;">
                                        <tr>
                                            <td width="180">
                                                <asp:Label ID="lblLotTemplateID" runat="server" CssClass="label" Text="批次属性代码" MaxLength="20"
                                                    meta:resourcekey="lblLotTemplateID"></asp:Label><span class="must_input">*</span>
                                            </td>
                                            <td width="180">
                                                &nbsp;
                                            </td>
                                            <td width="180">
                                                &nbsp;
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:TextBox ID="txtLotTemplateID" runat="server" CssClass="textbox" meta:resourcekey="txtLotTemplateID"></asp:TextBox>
                                            </td>
                                            <td>
                                                &nbsp;
                                            </td>
                                            <td>
                                                &nbsp;
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="180">
                                                <asp:Label ID="lblDescription" runat="server" CssClass="label" Text="描述" meta:resourcekey="lblDescription"></asp:Label>
                                            </td>
                                            <td width="180">
                                                &nbsp;
                                            </td>
                                            <td width="180">
                                                &nbsp;
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="2">
                                                <asp:TextBox ID="txtDescription" runat="server" CssClass="largetextbox" MaxLength="50"
                                                    meta:resourcekey="txtDescription"></asp:TextBox>
                                            </td>
                                            <td>
                                                &nbsp;
                                            </td>
                                        </tr>
                                        <tr style="height: 10px;">
                                            <td width="180">
                                            </td>
                                            <td width="180">
                                            </td>
                                            <td width="180">
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <table style="width: 950px">
                                        <tr>
                                            <td style="width: 85px;">
                                            </td>
                                            <td style="width: 80px;">
                                                <asp:Label ID="lblSeqNo" runat="server" CssClass="label" Text="序号" meta:resourcekey="lblSeqNo"></asp:Label>
                                            </td>
                                            <td style="width: 180px;">
                                                <asp:Label ID="lblDispalyName" runat="server" CssClass="label" Text="显示名称" meta:resourcekey="lblDispalyName"></asp:Label>
                                            </td>
                                            <td style="width: 50px;">
                                                <asp:Label ID="lblVisible" runat="server" CssClass="label" Text="可见" meta:resourcekey="lblVisible"></asp:Label>
                                            </td>
                                            <td style="width: 50px;">
                                                <asp:Label ID="lblRFVisible" runat="server" CssClass="label" Text="RF可见"></asp:Label>
                                            </td>
                                            <td style="width: 60px;">
                                                <asp:Label ID="lblMandatory" runat="server" CssClass="label" Text="入库必输" meta:resourcekey="lblMandatory"></asp:Label>
                                            </td>
                                            <td style="width: 60px;">
                                                <asp:Label ID="lblMandatoryOT" runat="server" CssClass="label" Text="出库必输" meta:resourcekey="lblMandatoryOT"></asp:Label>
                                            </td>
                                            <td style="width: 100px;">
                                                <asp:Label ID="lblType" runat="server" CssClass="label" Text="类型" meta:resourcekey="lblType"></asp:Label>
                                            </td>
                                            <td style="width: 100px;">
                                                <asp:Label ID="lblValue" runat="server" CssClass="label" Text="值" meta:resourcekey="lblValue"></asp:Label>
                                            </td>
                                            <td style="width: 100px;">
                                                <asp:Label ID="lblDefaultIN" runat="server" CssClass="label" Text="入库默认值" meta:resourcekey="lblDefaultIN"></asp:Label>
                                            </td>
                                            <td style="width: 100px;">
                                                <asp:Label ID="lblDefaultOT" runat="server" CssClass="label" Text="出库默认值" meta:resourcekey="lblDefaultOT"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Label ID="lblLot01" runat="server" CssClass="label" Text="批属性01" meta:resourcekey="lblLot01"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtSeqNo1" runat="server" CssClass="textbox" Width="50px" onblur="Javascript:dataVer._Is123Or0(this,'lblMsg')"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtLot01" runat="server" CssClass="textbox" meta:resourcekey="txtLot01"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotVisible01" runat="server" CssClass="checkbox" onclick="checkSubLotVisible('01','lblLot01','txtLot01');"
                                                    meta:resourcekey="chkLotVisible01" />
                                                <asp:CheckBox ID="chkSubLotVisible01" runat="server" CssClass="checkbox" Style="display: none;"
                                                    meta:resourcekey="chkSubLotVisible01" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotRFVisible01" runat="server" CssClass="checkbox" onclick="checkSubLotRFVisible('01','lblLot01','txtLot01');" />
                                                <asp:CheckBox ID="chkSubLotRFVisible01" runat="server" CssClass="checkbox" Style="display: none;" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotMandatory01" runat="server" CssClass="checkbox" onclick="checkMandatory('01');"
                                                    meta:resourcekey="chkLotMandatory01" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotMandatoryOT01" runat="server" CssClass="checkbox" onclick="checkMandatoryOT('01');"
                                                    meta:resourcekey="chkLotMandatoryOT01" />
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlLotType01" runat="server" CssClass="selectbox"  OnTextChanged="ddlLotType_TextChanged" AutoPostBack="True"
                                                    meta:resourcekey="ddlLotType01">
                                                </asp:DropDownList>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlLotValue01" runat="server" CssClass="selectbox" style="display:none;"
                                                    OnTextChanged="ddlLotValue_TextChanged" AutoPostBack="True" meta:resourcekey="ddlLotValue01">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtLotValue01" runat="server" CssClass="textbox100" style="display:block;" meta:resourcekey="txtLotValue01"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlDefaultIN01" runat="server" CssClass="selectbox" style="display:none;" 
                                                    meta:resourcekey="ddlDefaultIN01">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtDefaultIN01" runat="server" CssClass="textbox100" style="display:block;" meta:resourcekey="txtDefaultIN01"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlDefaultOT01" runat="server" CssClass="selectbox"  style="display:none;"
                                                    meta:resourcekey="ddlDefaultOT01">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtDefaultOT01" runat="server" CssClass="textbox100" style="display:block;" meta:resourcekey="txtDefaultOT01"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Label ID="lblLot02" runat="server" CssClass="label" Text="批属性02" meta:resourcekey="lblLot02"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtSeqNo2" runat="server" CssClass="textbox" Width="50px" onblur="Javascript:dataVer._Is123Or0(this,'lblMsg')"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtLot02" runat="server" CssClass="textbox" meta:resourcekey="txtLot02"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotVisible02" runat="server" CssClass="checkbox" onclick="checkSubLotVisible('02','lblLot02','txtLot02');"
                                                    meta:resourcekey="chkLotVisible02" />
                                                <asp:CheckBox ID="chkSubLotVisible02" runat="server" CssClass="checkbox" Style="display: none;"
                                                    meta:resourcekey="chkSubLotVisible02" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotRFVisible02" runat="server" CssClass="checkbox" onclick="checkSubLotRFVisible('02','lblLot02','txtLot02');" />
                                                <asp:CheckBox ID="chkSubLotRFVisible02" runat="server" CssClass="checkbox" Style="display: none;" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotMandatory02" runat="server" CssClass="checkbox" onclick="checkMandatory('02');"
                                                    meta:resourcekey="chkLotMandatory02" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotMandatoryOT02" runat="server" CssClass="checkbox" onclick="checkMandatoryOT('02');"
                                                    meta:resourcekey="chkLotMandatoryOT02" />
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlLotType02" runat="server" CssClass="selectbox"  OnTextChanged="ddlLotType_TextChanged" AutoPostBack="True"
                                                    meta:resourcekey="ddlLotType02">
                                                </asp:DropDownList>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlLotValue02" runat="server" CssClass="selectbox" style="display:none;" 
                                                    OnTextChanged="ddlLotValue_TextChanged" AutoPostBack="True" meta:resourcekey="ddlLotValue02">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtLotValue02" runat="server" CssClass="textbox100" style="display:block;" meta:resourcekey="txtLotValue02"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlDefaultIN02" runat="server" CssClass="selectbox" style="display:none;" 
                                                    meta:resourcekey="ddlDefaultIN02">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtDefaultIN02" runat="server" CssClass="textbox100" style="display:block;" meta:resourcekey="txtDefaultIN02"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlDefaultOT02" runat="server" CssClass="selectbox" style="display:none;" 
                                                    meta:resourcekey="ddlDefaultOT02">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtDefaultOT02" runat="server" CssClass="textbox100" style="display:block;" meta:resourcekey="txtDefaultOT02"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Label ID="lblLot03" runat="server" CssClass="label" Text="批属性03" meta:resourcekey="lblLot03"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtSeqNo3" runat="server" CssClass="textbox" Width="50px" onblur="Javascript:dataVer._Is123Or0(this,'lblMsg')"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtLot03" runat="server" CssClass="textbox" meta:resourcekey="txtLot03"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotVisible03" runat="server" CssClass="checkbox" onclick="checkSubLotVisible('03','lblLot03','txtLot03');"
                                                    meta:resourcekey="chkLotVisible03" />
                                                <asp:CheckBox ID="chkSubLotVisible03" runat="server" CssClass="checkbox" Style="display: none;"
                                                    meta:resourcekey="chkSubLotVisible03" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotRFVisible03" runat="server" CssClass="checkbox" onclick="checkSubLotRFVisible('03','lblLot03','txtLot03');" />
                                                <asp:CheckBox ID="chkSubLotRFVisible03" runat="server" CssClass="checkbox" Style="display: none;" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotMandatory03" runat="server" CssClass="checkbox" onclick="checkMandatory('03');"
                                                    meta:resourcekey="chkLotMandatory03" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotMandatoryOT03" runat="server" CssClass="checkbox" onclick="checkMandatoryOT('03');"
                                                    meta:resourcekey="chkLotMandatoryOT03" />
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlLotType03" runat="server" CssClass="selectbox"  OnTextChanged="ddlLotType_TextChanged" AutoPostBack="True"
                                                    meta:resourcekey="ddlLotType03">
                                                </asp:DropDownList>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlLotValue03" runat="server" CssClass="selectbox" style="display:none;" 
                                                    OnTextChanged="ddlLotValue_TextChanged" AutoPostBack="True" meta:resourcekey="ddlLotValue03">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtLotValue03" runat="server" CssClass="textbox100" style="display:block;" meta:resourcekey="txtLotValue03"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlDefaultIN03" runat="server" CssClass="selectbox" style="display:none;" 
                                                    meta:resourcekey="ddlDefaultIN03">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtDefaultIN03" runat="server" CssClass="textbox100" style="display:block;" meta:resourcekey="txtDefaultIN03"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlDefaultOT03" runat="server" CssClass="selectbox" style="display:none;" 
                                                    meta:resourcekey="ddlDefaultOT03">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtDefaultOT03" runat="server" CssClass="textbox100" style="display:block;" meta:resourcekey="txtDefaultOT03"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Label ID="lblLot04" runat="server" CssClass="label" Text="批属性04" meta:resourcekey="lblLot04"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtSeqNo4" runat="server" CssClass="textbox" Width="50px" onblur="Javascript:dataVer._Is123Or0(this,'lblMsg')"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtLot04" runat="server" CssClass="textbox" meta:resourcekey="txtLot04"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotVisible04" runat="server" CssClass="checkbox" onclick="checkSubLotVisible('04','lblLot04','txtLot04');"
                                                    meta:resourcekey="chkLotVisible04" />
                                                <asp:CheckBox ID="chkSubLotVisible04" runat="server" CssClass="checkbox" Style="display: none;"
                                                    meta:resourcekey="chkSubLotVisible04" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotRFVisible04" runat="server" CssClass="checkbox" onclick="checkSubLotRFVisible('04','lblLot04','txtLot04');" />
                                                <asp:CheckBox ID="chkSubLotRFVisible04" runat="server" CssClass="checkbox" Style="display: none;" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotMandatory04" runat="server" CssClass="checkbox" onclick="checkMandatory('04');"
                                                    meta:resourcekey="chkLotMandatory04" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotMandatoryOT04" runat="server" CssClass="checkbox" onclick="checkMandatoryOT('04');"
                                                    meta:resourcekey="chkLotMandatoryOT04" />
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlLotType04" runat="server" CssClass="selectbox"  OnTextChanged="ddlLotType_TextChanged" AutoPostBack="True"
                                                    meta:resourcekey="ddlLotType04">
                                                </asp:DropDownList>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlLotValue04" runat="server" CssClass="selectbox" style="display:none;" 
                                                    OnTextChanged="ddlLotValue_TextChanged" AutoPostBack="True" meta:resourcekey="ddlLotValue04">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtLotValue04" runat="server" CssClass="textbox100" style="display:block;" meta:resourcekey="txtLotValue04"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlDefaultIN04" runat="server" CssClass="selectbox" style="display:none;" 
                                                    meta:resourcekey="ddlDefaultIN04">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtDefaultIN04" runat="server" CssClass="textbox100" style="display:block;" meta:resourcekey="txtDefaultIN04"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlDefaultOT04" runat="server" CssClass="selectbox" style="display:none;" 
                                                    meta:resourcekey="ddlDefaultOT04">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtDefaultOT04" runat="server" CssClass="textbox100" style="display:block;" meta:resourcekey="txtDefaultOT04"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Label ID="lblLot05" runat="server" CssClass="label" Text="批属性05" meta:resourcekey="lblLot05"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtSeqNo5" runat="server" CssClass="textbox" Width="50px" onblur="Javascript:dataVer._Is123Or0(this,'lblMsg')"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtLot05" runat="server" CssClass="textbox" meta:resourcekey="txtLot05"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotVisible05" runat="server" CssClass="checkbox" onclick="checkSubLotVisible('05','lblLot05','txtLot05');"
                                                    meta:resourcekey="chkLotVisible05" />
                                                <asp:CheckBox ID="chkSubLotVisible05" runat="server" CssClass="checkbox" Style="display: none;"
                                                    meta:resourcekey="chkSubLotVisible05" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotRFVisible05" runat="server" CssClass="checkbox" onclick="checkSubLotRFVisible('05','lblLot05','txtLot05');" />
                                                <asp:CheckBox ID="chkSubLotRFVisible05" runat="server" CssClass="checkbox" Style="display: none;" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotMandatory05" runat="server" CssClass="checkbox" onclick="checkMandatory('05');"
                                                    meta:resourcekey="chkLotMandatory05" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotMandatoryOT05" runat="server" CssClass="checkbox" onclick="checkMandatoryOT('05');"
                                                    meta:resourcekey="chkLotMandatoryOT05" />
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlLotType05" runat="server" CssClass="selectbox"  OnTextChanged="ddlLotType_TextChanged" AutoPostBack="True"
                                                    meta:resourcekey="ddlLotType05">
                                                </asp:DropDownList>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlLotValue05" runat="server" CssClass="selectbox" style="display:none;" 
                                                    OnTextChanged="ddlLotValue_TextChanged" AutoPostBack="True" meta:resourcekey="ddlLotValue05">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtLotValue05" runat="server" CssClass="textbox100" style="display:block;" meta:resourcekey="txtLotValue05"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlDefaultIN05" runat="server" CssClass="selectbox" style="display:none;" 
                                                    meta:resourcekey="ddlDefaultIN05">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtDefaultIN05" runat="server" CssClass="textbox100" style="display:block;" meta:resourcekey="txtDefaultIN05"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlDefaultOT05" runat="server" CssClass="selectbox" style="display:none;" 
                                                    meta:resourcekey="ddlDefaultOT05">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtDefaultOT05" runat="server" CssClass="textbox100" style="display:block;" meta:resourcekey="txtDefaultOT05"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Label ID="lblLot06" runat="server" CssClass="label" Text="批属性06" meta:resourcekey="lblLot06"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtSeqNo6" runat="server" CssClass="textbox" Width="50px" onblur="Javascript:dataVer._Is123Or0(this,'lblMsg')"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtLot06" runat="server" CssClass="textbox" meta:resourcekey="txtLot06"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotVisible06" runat="server" CssClass="checkbox" onclick="checkSubLotVisible('06','lblLot06','txtLot06');"
                                                    meta:resourcekey="chkLotVisible06" />
                                                <asp:CheckBox ID="chkSubLotVisible06" runat="server" CssClass="checkbox" Style="display: none;"
                                                    meta:resourcekey="chkSubLotVisible06" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotRFVisible06" runat="server" CssClass="checkbox" onclick="checkSubLotRFVisible('06','lblLot06','txtLot06');" />
                                                <asp:CheckBox ID="chkSubLotRFVisible06" runat="server" CssClass="checkbox" Style="display: none;" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotMandatory06" runat="server" CssClass="checkbox" onclick="checkMandatory('06');"
                                                    meta:resourcekey="chkLotMandatory06" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotMandatoryOT06" runat="server" CssClass="checkbox" onclick="checkMandatoryOT('06');"
                                                    meta:resourcekey="chkLotMandatoryOT06" />
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlLotType06" runat="server" CssClass="selectbox"  OnTextChanged="ddlLotType_TextChanged" AutoPostBack="True"
                                                    meta:resourcekey="ddlLotType06">
                                                </asp:DropDownList>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlLotValue06" runat="server" CssClass="selectbox" style="display:none;" 
                                                    OnTextChanged="ddlLotValue_TextChanged" AutoPostBack="True" meta:resourcekey="ddlLotValue06">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtLotValue06" runat="server" CssClass="textbox100" style="display:block;" meta:resourcekey="txtLotValue06"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlDefaultIN06" runat="server" CssClass="selectbox" style="display:none;" 
                                                    meta:resourcekey="ddlDefaultIN06">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtDefaultIN06" runat="server" CssClass="textbox100" style="display:block;" meta:resourcekey="txtDefaultIN06"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlDefaultOT06" runat="server" CssClass="selectbox" style="display:none;" 
                                                    meta:resourcekey="ddlDefaultOT06">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtDefaultOT06" runat="server" CssClass="textbox100" style="display:block;" meta:resourcekey="txtDefaultOT06"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Label ID="lblLot07" runat="server" CssClass="label" Text="批属性07" meta:resourcekey="lblLot07"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtSeqNo7" runat="server" CssClass="textbox" Width="50px" onblur="Javascript:dataVer._Is123Or0(this,'lblMsg')"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtLot07" runat="server" CssClass="textbox" meta:resourcekey="txtLot07"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotVisible07" runat="server" CssClass="checkbox" onclick="checkSubLotVisible('07','lblLot07','txtLot07');"
                                                    meta:resourcekey="chkLotVisible07" />
                                                <asp:CheckBox ID="chkSubLotVisible07" runat="server" CssClass="checkbox" Style="display: none;"
                                                    meta:resourcekey="chkSubLotVisible07" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotRFVisible07" runat="server" CssClass="checkbox" onclick="checkSubLotRFVisible('07','lblLot07','txtLot07');" />
                                                <asp:CheckBox ID="chkSubLotRFVisible07" runat="server" CssClass="checkbox" Style="display: none;" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotMandatory07" runat="server" CssClass="checkbox" onclick="checkMandatory('07');"
                                                    meta:resourcekey="chkLotMandatory07" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotMandatoryOT07" runat="server" CssClass="checkbox" onclick="checkMandatoryOT('07');"
                                                    meta:resourcekey="chkLotMandatoryOT07" />
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlLotType07" runat="server" CssClass="selectbox"  OnTextChanged="ddlLotType_TextChanged" AutoPostBack="True"
                                                    meta:resourcekey="ddlLotType07">
                                                </asp:DropDownList>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlLotValue07" runat="server" CssClass="selectbox" style="display:none;" 
                                                    OnTextChanged="ddlLotValue_TextChanged" AutoPostBack="True" meta:resourcekey="ddlLotValue07">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtLotValue07" runat="server" CssClass="textbox100" style="display:block;" meta:resourcekey="txtLotValue07"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlDefaultIN07" runat="server" CssClass="selectbox" style="display:none;" 
                                                    meta:resourcekey="ddlDefaultIN07">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtDefaultIN07" runat="server" CssClass="textbox100" style="display:block;" meta:resourcekey="txtDefaultIN07"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlDefaultOT07" runat="server" CssClass="selectbox" style="display:none;" 
                                                    meta:resourcekey="ddlDefaultOT07">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtDefaultOT07" runat="server" CssClass="textbox100" style="display:block;" meta:resourcekey="txtDefaultOT07"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Label ID="lblLot08" runat="server" CssClass="label" Text="批属性08" meta:resourcekey="lblLot08"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtSeqNo8" runat="server" CssClass="textbox" Width="50px" onblur="Javascript:dataVer._Is123Or0(this,'lblMsg')"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtLot08" runat="server" CssClass="textbox" meta:resourcekey="txtLot08"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotVisible08" runat="server" CssClass="checkbox" onclick="checkSubLotVisible('08','lblLot08','txtLot08');"
                                                    meta:resourcekey="chkLotVisible08" />
                                                <asp:CheckBox ID="chkSubLotVisible08" runat="server" CssClass="checkbox" Style="display: none;"
                                                    meta:resourcekey="chkSubLotVisible08" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotRFVisible08" runat="server" CssClass="checkbox" onclick="checkSubLotRFVisible('08','lblLot08','txtLot08');" />
                                                <asp:CheckBox ID="chkSubLotRFVisible08" runat="server" CssClass="checkbox" Style="display: none;" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotMandatory08" runat="server" CssClass="checkbox" onclick="checkMandatory('08');"
                                                    meta:resourcekey="chkLotMandatory08" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotMandatoryOT08" runat="server" CssClass="checkbox" onclick="checkMandatoryOT('08');"
                                                    meta:resourcekey="chkLotMandatoryOT08" />
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlLotType08" runat="server" CssClass="selectbox"  OnTextChanged="ddlLotType_TextChanged" AutoPostBack="True"
                                                    meta:resourcekey="ddlLotType08">
                                                </asp:DropDownList>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlLotValue08" runat="server" CssClass="selectbox" style="display:none;" 
                                                    OnTextChanged="ddlLotValue_TextChanged" AutoPostBack="True" meta:resourcekey="ddlLotValue08">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtLotValue08" runat="server" CssClass="textbox100" style="display:block;" meta:resourcekey="txtLotValue08"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlDefaultIN08" runat="server" CssClass="selectbox" style="display:none;" 
                                                    meta:resourcekey="ddlDefaultIN08">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtDefaultIN08" runat="server" CssClass="textbox100" style="display:block;" meta:resourcekey="txtDefaultIN08"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlDefaultOT08" runat="server" CssClass="selectbox" style="display:none;" 
                                                    meta:resourcekey="ddlDefaultOT08">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtDefaultOT08" runat="server" CssClass="textbox100" style="display:block;" meta:resourcekey="txtDefaultOT08"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Label ID="lblLot09" runat="server" CssClass="label" Text="批属性09" meta:resourcekey="lblLot09"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtSeqNo9" runat="server" CssClass="textbox" Width="50px" onblur="Javascript:dataVer._Is123Or0(this,'lblMsg')"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtLot09" runat="server" CssClass="textbox" meta:resourcekey="txtLot09"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotVisible09" runat="server" CssClass="checkbox" Enabled="false"
                                                    onclick="checkSubLotVisible('09','lblLot09','txtLot09');" meta:resourcekey="chkLotVisible09" />
                                                <asp:CheckBox ID="chkSubLotVisible09" runat="server" CssClass="checkbox" Enabled="false"
                                                    Style="display: none;" meta:resourcekey="chkSubLotVisible09" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotRFVisible09" runat="server" CssClass="checkbox" Enabled="false"
                                                    onclick="checkSubLotRFVisible('09','lblLot09','txtLot09');" />
                                                <asp:CheckBox ID="chkSubLotRFVisible09" runat="server" CssClass="checkbox" Enabled="false"
                                                    Style="display: none;" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotMandatory09" runat="server" CssClass="checkbox" Enabled="false"
                                                    onclick="checkMandatory('09');" meta:resourcekey="chkLotMandatory09" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotMandatoryOT09" runat="server" CssClass="checkbox" Enabled="false"
                                                    onclick="checkMandatoryOT('09');" meta:resourcekey="chkLotMandatoryOT09" />
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlLotType09" runat="server" CssClass="selectbox" Enabled="false"
                                                      OnTextChanged="ddlLotType_TextChanged" AutoPostBack="True" meta:resourcekey="ddlLotType09">
                                                </asp:DropDownList>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlLotValue09" runat="server" CssClass="selectbox" Enabled="false" style="display:block;"
                                                    OnTextChanged="ddlLotValue_TextChanged" AutoPostBack="True" meta:resourcekey="ddlLotValue09">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtLotValue09" runat="server" CssClass="textbox100" style="display:none;" 
                                                    meta:resourcekey="txtLotValue09"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlDefaultIN09" runat="server" CssClass="selectbox" style="display:block;"
                                                    meta:resourcekey="ddlDefaultIN09">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtDefaultIN09" runat="server" CssClass="textbox100" style="display:none;" 
                                                    meta:resourcekey="txtDefaultIN09"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlDefaultOT09" runat="server" CssClass="selectbox" style="display:block;" 
                                                    meta:resourcekey="ddlDefaultOT09">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtDefaultOT09" runat="server" CssClass="textbox100" style="display:none;" 
                                                    meta:resourcekey="txtDefaultOT09"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Label ID="lblLot10" runat="server" CssClass="label" Text="批属性10" meta:resourcekey="lblLot10"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtSeqNo10" runat="server" CssClass="textbox" Width="50px" onblur="Javascript:dataVer._Is123Or0(this,'lblMsg')"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtLot10" runat="server" CssClass="textbox" Enabled="False" meta:resourcekey="txtLot10"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotVisible10" runat="server" CssClass="checkbox" Enabled="False"
                                                    onclick="checkSubLotVisible('10','lblLot10','txtLot10');" meta:resourcekey="chkLotVisible10" />
                                                <asp:CheckBox ID="chkSubLotVisible10" runat="server" CssClass="checkbox" Style="display: none;"
                                                    meta:resourcekey="chkSubLotVisible10" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotRFVisible10" runat="server" CssClass="checkbox" Enabled="False"
                                                    onclick="checkSubLotRFVisible('10','lblLot10','txtLot10');" />
                                                <asp:CheckBox ID="chkSubLotRFVisible10" runat="server" CssClass="checkbox" Style="display: none;" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotMandatory10" runat="server" CssClass="checkbox" Enabled="False"
                                                    onclick="checkMandatory('10');" meta:resourcekey="chkLotMandatory10" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotMandatoryOT10" runat="server" CssClass="checkbox" Enabled="False"
                                                    onclick="checkMandatoryOT('10');" meta:resourcekey="chkLotMandatoryOT10" />
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlLotType10" runat="server" CssClass="selectbox" Enabled="False"
                                                      OnTextChanged="ddlLotType_TextChanged" AutoPostBack="True" meta:resourcekey="ddlLotType10">
                                                </asp:DropDownList>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlLotValue10" runat="server" CssClass="selectbox" style="display:none;" 
                                                    OnTextChanged="ddlLotValue_TextChanged" AutoPostBack="True" meta:resourcekey="ddlLotValue10">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtLotValue10" runat="server" CssClass="textbox100" Enabled="False" style="display:block;"
                                                    meta:resourcekey="txtLotValue10"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlDefaultIN10" runat="server" CssClass="selectbox" style="display:none;" 
                                                    meta:resourcekey="ddlDefaultIN10">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtDefaultIN10" runat="server" CssClass="textbox100" Enabled="False" style="display:block;"
                                                    meta:resourcekey="txtDefaultIN10"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlDefaultOT10" runat="server" CssClass="selectbox" style="display:none;" 
                                                    meta:resourcekey="ddlDefaultOT10">
                                                </asp:DropDownList>
                                                <asp:TextBox ID="txtDefaultOT10" runat="server" CssClass="textbox100" Enabled="False" style="display:block;"
                                                    meta:resourcekey="txtDefaultOT10"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Label ID="lblLot11" runat="server" CssClass="label" Text="生产日期" meta:resourcekey="lblLot11"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtSeqNo11" runat="server" CssClass="textbox" Width="50px" onblur="Javascript:dataVer._Is123Or0(this,'lblMsg')"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtProduct" runat="server" CssClass="textbox"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotVisible11" runat="server" CssClass="checkbox" onclick="checkSubLotVisible('11','lblLot11','txtProduct');"
                                                    meta:resourcekey="chkLotVisible11" />
                                                <asp:CheckBox ID="chkSubLotVisible11" runat="server" CssClass="checkbox" Style="display: none;"
                                                    meta:resourcekey="chkSubLotVisible11" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotRFVisible11" runat="server" CssClass="checkbox" onclick="checkSubLotRFVisible('11','lblLot11','txtProduct');" />
                                                <asp:CheckBox ID="chkSubLotRFVisible11" runat="server" CssClass="checkbox" Style="display: none;" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotMandatory11" runat="server" CssClass="checkbox" onclick="checkMandatory('11');"
                                                    meta:resourcekey="chkLotMandatory11" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotMandatoryOT11" runat="server" CssClass="checkbox" onclick="checkMandatoryOT('11');"
                                                    meta:resourcekey="chkLotMandatoryOT11" />
                                            </td>
                                            <td>
                                                &nbsp;
                                            </td>
                                            <td>
                                            </td>
                                            <td>
                                            </td>
                                            <td>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Label ID="lblLot12" runat="server" CssClass="label" Text="失效日期" meta:resourcekey="lblLot12"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtSeqNo12" runat="server" CssClass="textbox" Width="50px" onblur="Javascript:dataVer._Is123Or0(this,'lblMsg')"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtExpiryDate" runat="server" CssClass="textbox"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotVisible12" runat="server" CssClass="checkbox" onclick="checkSubLotVisible('12','lblLot12','txtExpiryDate');"
                                                    meta:resourcekey="chkLotVisible12" />
                                                <asp:CheckBox ID="chkSubLotVisible12" runat="server" CssClass="checkbox" Style="display: none;"
                                                    meta:resourcekey="chkSubLotVisible12" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotRFVisible12" runat="server" CssClass="checkbox" onclick="checkSubLotRFVisible('12','lblLot12','txtExpiryDate');" />
                                                <asp:CheckBox ID="chkSubLotRFVisible12" runat="server" CssClass="checkbox" Style="display: none;"
                                                    meta:resourcekey="chkSubLotVisible12" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotMandatory12" runat="server" CssClass="checkbox" onclick="checkMandatory('12');" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotMandatoryOT12" runat="server" CssClass="checkbox" onclick="checkMandatoryOT('12');"
                                                    meta:resourcekey="chkLotMandatoryOT12" />
                                            </td>
                                            <td>
                                                &nbsp;
                                            </td>
                                            <td>
                                            </td>
                                            <td>
                                            </td>
                                            <td>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Label ID="lblExternal" runat="server" CssClass="label" Text="外部批号" meta:resourcekey="lblExternal"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtSeqNo13" runat="server" CssClass="textbox" Width="50px" onblur="Javascript:dataVer._Is123Or0(this,'lblMsg')"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtExternal" runat="server" CssClass="textbox"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotVisible13" runat="server" CssClass="checkbox" onclick="checkSubLotVisible('13','lblExternal','txtExternal');" />
                                                <asp:CheckBox ID="chkSubLotVisible13" runat="server" CssClass="checkbox" Style="display: none;" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotRFVisible13" runat="server" CssClass="checkbox" onclick="checkSubLotRFVisible('13','lblExternal','txtExternal');" />
                                                <asp:CheckBox ID="chkSubLotRFVisible13" runat="server" CssClass="checkbox" Style="display: none;" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotMandatory13" runat="server" CssClass="checkbox" onclick="checkMandatory('13');" />
                                            </td>
                                            <td>
                                                <asp:CheckBox ID="chkLotMandatoryOT13" runat="server" CssClass="checkbox" onclick="checkMandatoryOT('13');"
                                                    meta:resourcekey="chkLotMandatoryOT13" />
                                            </td>
                                            <td>
                                                &nbsp;
                                            </td>
                                            <td>
                                            </td>
                                            <td>
                                            </td>
                                            <td>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:CheckBox ID="chkIsActive" runat="server" CssClass="checkbox" Text="启用" Checked="True"
                                        meta:resourcekey="chkIsActive" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:CheckBox ID="chkSysCreated" runat="server" CssClass="checkbox" Text="系统创建" Enabled="False"
                                        meta:resourcekey="chkSysCreated" />
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </ContentTemplate>
            <Triggers>
                <asp:AsyncPostBackTrigger ControlID="btnNew" EventName="Click" />
                <asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" />
                <asp:AsyncPostBackTrigger ControlID="btnCopy" EventName="Click" />
            </Triggers>
        </asp:UpdatePanel>
    </div>
    <input type="hidden" id="hdnLotTemplateID" runat="server" />
    <input type="hidden" id="hdnFrom" runat="server" />
    </form>
</body>
</html>
